﻿using OperationPlugins.Handlers;

namespace OperationPlugins.Validators
{
    [HandlerOf(typeof(InternalEnvelope<MessageContainer>))]
    internal sealed class ValidationResultMessageContainerHandler : InternalEnvelope<MessageContainer>.Handler
    {
        protected override void Handle()
        {
            OperationPluginsContext.Current.Add(Value);
        }
    }
}
